Skip to content

Add test for git_status function#2959

Merged
olaservo merged 2 commits intomodelcontextprotocol:mainfrom
UmakanthKaspa:add-git-status-test
Nov 8, 2025
Merged

Add test for git_status function#2959
olaservo merged 2 commits intomodelcontextprotocol:mainfrom
UmakanthKaspa:add-git-status-test

Conversation

@UmakanthKaspa
Copy link

Adds test coverage for the git_status function which was previously untested.

  • Added test_git_status() in src/git/tests/test_server.py
  • Test verifies the function returns valid branch information
  • All tests pass (11/11)
  • Type checking passes (0 errors)

  Adds test coverage for the previously untested git_status function.
  The test verifies that the function returns valid git status output
  containing branch information.
Copy link
Member

@olaservo olaservo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@olaservo olaservo merged commit 65994ca into modelcontextprotocol:main Nov 8, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants